package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.domain.DestinationTemplate;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

public interface IDestinationEsService{
    void save(DestinationTemplate destinationTemplate);

    //通过名字查询目的地对象
    DestinationTemplate findByName(String name);
}
